package com.ncs;

/**
 * Created by IntelliJ IDEA.
 * User: wenwei
 * Date: 5/19/11
 * Time: 5:25 PM
 * To change this template use File | Settings | File Templates.
 */
public class CrmLeadEntity {
    private int id;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    private String no;

    public String getNo() {
        return no;
    }

    public void setNo(String no) {
        this.no = no;
    }

    private String publicationDateAndTime;

    public String getPublicationDateAndTime() {
        return publicationDateAndTime;
    }

    public void setPublicationDateAndTime(String publicationDateAndTime) {
        this.publicationDateAndTime = publicationDateAndTime;
    }

    private String description;

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    private String shortDescription;

    public String getShortDescription() {
        return shortDescription;
    }

    public void setShortDescription(String shortDescription) {
        this.shortDescription = shortDescription;
    }

    private String paymentTerms;

    public String getPaymentTerms() {
        return paymentTerms;
    }

    public void setPaymentTerms(String paymentTerms) {
        this.paymentTerms = paymentTerms;
    }

    private String quotationType;

    public String getQuotationType() {
        return quotationType;
    }

    public void setQuotationType(String quotationType) {
        this.quotationType = quotationType;
    }

    private String quotationRefNo;

    public String getQuotationRefNo() {
        return quotationRefNo;
    }

    public void setQuotationRefNo(String quotationRefNo) {
        this.quotationRefNo = quotationRefNo;
    }

    private String periodContractNo;

    public String getPeriodContractNo() {
        return periodContractNo;
    }

    public void setPeriodContractNo(String periodContractNo) {
        this.periodContractNo = periodContractNo;
    }

    private String closingDateAndTime;

    public String getClosingDateAndTime() {
        return closingDateAndTime;
    }

    public void setClosingDateAndTime(String closingDateAndTime) {
        this.closingDateAndTime = closingDateAndTime;
    }

    private String offerValidDeration;

    public String getOfferValidDeration() {
        return offerValidDeration;
    }

    public void setOfferValidDeration(String offerValidDeration) {
        this.offerValidDeration = offerValidDeration;
    }

    private String tenderQuotationBoxNo;

    public String getTenderQuotationBoxNo() {
        return tenderQuotationBoxNo;
    }

    public void setTenderQuotationBoxNo(String tenderQuotationBoxNo) {
        this.tenderQuotationBoxNo = tenderQuotationBoxNo;
    }

    private String procurementNature;

    public String getProcurementNature() {
        return procurementNature;
    }

    public void setProcurementNature(String procurementNature) {
        this.procurementNature = procurementNature;
    }

    private String ceName;

    public String getCeName() {
        return ceName;
    }

    public void setCeName(String ceName) {
        this.ceName = ceName;
    }

    private String cpName;

    public String getCpName() {
        return cpName;
    }

    public void setCpName(String cpName) {
        this.cpName = cpName;
    }

    private String cpEmail;

    public String getCpEmail() {
        return cpEmail;
    }

    public void setCpEmail(String cpEmail) {
        this.cpEmail = cpEmail;
    }

    private String cpTel;

    public String getCpTel() {
        return cpTel;
    }

    public void setCpTel(String cpTel) {
        this.cpTel = cpTel;
    }

    private String cpFax;

    public String getCpFax() {
        return cpFax;
    }

    public void setCpFax(String cpFax) {
        this.cpFax = cpFax;
    }

    private String procurementType;

    public String getProcurementType() {
        return procurementType;
    }

    public void setProcurementType(String procurementType) {
        this.procurementType = procurementType;
    }

    private String remarks;

    public String getRemarks() {
        return remarks;
    }

    public void setRemarks(String remarks) {
        this.remarks = remarks;
    }

    private String requestForProposal;

    public String getRequestForProposal() {
        return requestForProposal;
    }

    public void setRequestForProposal(String requestForProposal) {
        this.requestForProposal = requestForProposal;
    }

    private String amendedClosingDate;

    public String getAmendedClosingDate() {
        return amendedClosingDate;
    }

    public void setAmendedClosingDate(String amendedClosingDate) {
        this.amendedClosingDate = amendedClosingDate;
    }

    private String coveredUnderWtoGpaFta;

    public String getCoveredUnderWtoGpaFta() {
        return coveredUnderWtoGpaFta;
    }

    public void setCoveredUnderWtoGpaFta(String coveredUnderWtoGpaFta) {
        this.coveredUnderWtoGpaFta = coveredUnderWtoGpaFta;
    }

    private String twoEnvelopeTender;

    public String getTwoEnvelopeTender() {
        return twoEnvelopeTender;
    }

    public void setTwoEnvelopeTender(String twoEnvelopeTender) {
        this.twoEnvelopeTender = twoEnvelopeTender;
    }

    private String tenderStatus;

    public String getTenderStatus() {
        return tenderStatus;
    }

    public void setTenderStatus(String tenderStatus) {
        this.tenderStatus = tenderStatus;
    }

    private String aeName;

    public String getAeName() {
        return aeName;
    }

    public void setAeName(String aeName) {
        this.aeName = aeName;
    }

    private String aeCp;

    public String getAeCp() {
        return aeCp;
    }

    public void setAeCp(String aeCp) {
        this.aeCp = aeCp;
    }

    private String aeAddr;

    public String getAeAddr() {
        return aeAddr;
    }

    public void setAeAddr(String aeAddr) {
        this.aeAddr = aeAddr;
    }

    private String aeEmail;

    public String getAeEmail() {
        return aeEmail;
    }

    public void setAeEmail(String aeEmail) {
        this.aeEmail = aeEmail;
    }

    private String aeTel;

    public String getAeTel() {
        return aeTel;
    }

    public void setAeTel(String aeTel) {
        this.aeTel = aeTel;
    }

    private String aeFax;

    public String getAeFax() {
        return aeFax;
    }

    public void setAeFax(String aeFax) {
        this.aeFax = aeFax;
    }

    private String pcpName;

    public String getPcpName() {
        return pcpName;
    }

    public void setPcpName(String pcpName) {
        this.pcpName = pcpName;
    }

    private String pcpEmail;

    public String getPcpEmail() {
        return pcpEmail;
    }

    public void setPcpEmail(String pcpEmail) {
        this.pcpEmail = pcpEmail;
    }

    private String pcpAddr;

    public String getPcpAddr() {
        return pcpAddr;
    }

    public void setPcpAddr(String pcpAddr) {
        this.pcpAddr = pcpAddr;
    }

    private String pcpTel;

    public String getPcpTel() {
        return pcpTel;
    }

    public void setPcpTel(String pcpTel) {
        this.pcpTel = pcpTel;
    }

    private String pcpFax;

    public String getPcpFax() {
        return pcpFax;
    }

    public void setPcpFax(String pcpFax) {
        this.pcpFax = pcpFax;
    }

    private String type;

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    private String submissionMethod;

    public String getSubmissionMethod() {
        return submissionMethod;
    }

    public void setSubmissionMethod(String submissionMethod) {
        this.submissionMethod = submissionMethod;
    }

    private String tenderType;

    public String getTenderType() {
        return tenderType;
    }

    public void setTenderType(String tenderType) {
        this.tenderType = tenderType;
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;

        CrmLeadEntity that = (CrmLeadEntity) o;

        if (id != that.id) return false;
        if (aeAddr != null ? !aeAddr.equals(that.aeAddr) : that.aeAddr != null) return false;
        if (aeCp != null ? !aeCp.equals(that.aeCp) : that.aeCp != null) return false;
        if (aeEmail != null ? !aeEmail.equals(that.aeEmail) : that.aeEmail != null) return false;
        if (aeFax != null ? !aeFax.equals(that.aeFax) : that.aeFax != null) return false;
        if (aeName != null ? !aeName.equals(that.aeName) : that.aeName != null) return false;
        if (aeTel != null ? !aeTel.equals(that.aeTel) : that.aeTel != null) return false;
        if (amendedClosingDate != null ? !amendedClosingDate.equals(that.amendedClosingDate) : that.amendedClosingDate != null)
            return false;
        if (ceName != null ? !ceName.equals(that.ceName) : that.ceName != null) return false;
        if (closingDateAndTime != null ? !closingDateAndTime.equals(that.closingDateAndTime) : that.closingDateAndTime != null)
            return false;
        if (coveredUnderWtoGpaFta != null ? !coveredUnderWtoGpaFta.equals(that.coveredUnderWtoGpaFta) : that.coveredUnderWtoGpaFta != null)
            return false;
        if (cpEmail != null ? !cpEmail.equals(that.cpEmail) : that.cpEmail != null) return false;
        if (cpFax != null ? !cpFax.equals(that.cpFax) : that.cpFax != null) return false;
        if (cpName != null ? !cpName.equals(that.cpName) : that.cpName != null) return false;
        if (cpTel != null ? !cpTel.equals(that.cpTel) : that.cpTel != null) return false;
        if (description != null ? !description.equals(that.description) : that.description != null) return false;
        if (no != null ? !no.equals(that.no) : that.no != null) return false;
        if (offerValidDeration != null ? !offerValidDeration.equals(that.offerValidDeration) : that.offerValidDeration != null)
            return false;
        if (paymentTerms != null ? !paymentTerms.equals(that.paymentTerms) : that.paymentTerms != null) return false;
        if (pcpAddr != null ? !pcpAddr.equals(that.pcpAddr) : that.pcpAddr != null) return false;
        if (pcpEmail != null ? !pcpEmail.equals(that.pcpEmail) : that.pcpEmail != null) return false;
        if (pcpFax != null ? !pcpFax.equals(that.pcpFax) : that.pcpFax != null) return false;
        if (pcpName != null ? !pcpName.equals(that.pcpName) : that.pcpName != null) return false;
        if (pcpTel != null ? !pcpTel.equals(that.pcpTel) : that.pcpTel != null) return false;
        if (periodContractNo != null ? !periodContractNo.equals(that.periodContractNo) : that.periodContractNo != null)
            return false;
        if (procurementNature != null ? !procurementNature.equals(that.procurementNature) : that.procurementNature != null)
            return false;
        if (procurementType != null ? !procurementType.equals(that.procurementType) : that.procurementType != null)
            return false;
        if (publicationDateAndTime != null ? !publicationDateAndTime.equals(that.publicationDateAndTime) : that.publicationDateAndTime != null)
            return false;
        if (quotationRefNo != null ? !quotationRefNo.equals(that.quotationRefNo) : that.quotationRefNo != null)
            return false;
        if (quotationType != null ? !quotationType.equals(that.quotationType) : that.quotationType != null)
            return false;
        if (remarks != null ? !remarks.equals(that.remarks) : that.remarks != null) return false;
        if (requestForProposal != null ? !requestForProposal.equals(that.requestForProposal) : that.requestForProposal != null)
            return false;
        if (shortDescription != null ? !shortDescription.equals(that.shortDescription) : that.shortDescription != null)
            return false;
        if (submissionMethod != null ? !submissionMethod.equals(that.submissionMethod) : that.submissionMethod != null)
            return false;
        if (tenderQuotationBoxNo != null ? !tenderQuotationBoxNo.equals(that.tenderQuotationBoxNo) : that.tenderQuotationBoxNo != null)
            return false;
        if (tenderStatus != null ? !tenderStatus.equals(that.tenderStatus) : that.tenderStatus != null) return false;
        if (tenderType != null ? !tenderType.equals(that.tenderType) : that.tenderType != null) return false;
        if (twoEnvelopeTender != null ? !twoEnvelopeTender.equals(that.twoEnvelopeTender) : that.twoEnvelopeTender != null)
            return false;
        if (type != null ? !type.equals(that.type) : that.type != null) return false;

        return true;
    }

    @Override
    public int hashCode() {
        int result = id;
        result = 31 * result + (no != null ? no.hashCode() : 0);
        result = 31 * result + (publicationDateAndTime != null ? publicationDateAndTime.hashCode() : 0);
        result = 31 * result + (description != null ? description.hashCode() : 0);
        result = 31 * result + (shortDescription != null ? shortDescription.hashCode() : 0);
        result = 31 * result + (paymentTerms != null ? paymentTerms.hashCode() : 0);
        result = 31 * result + (quotationType != null ? quotationType.hashCode() : 0);
        result = 31 * result + (quotationRefNo != null ? quotationRefNo.hashCode() : 0);
        result = 31 * result + (periodContractNo != null ? periodContractNo.hashCode() : 0);
        result = 31 * result + (closingDateAndTime != null ? closingDateAndTime.hashCode() : 0);
        result = 31 * result + (offerValidDeration != null ? offerValidDeration.hashCode() : 0);
        result = 31 * result + (tenderQuotationBoxNo != null ? tenderQuotationBoxNo.hashCode() : 0);
        result = 31 * result + (procurementNature != null ? procurementNature.hashCode() : 0);
        result = 31 * result + (ceName != null ? ceName.hashCode() : 0);
        result = 31 * result + (cpName != null ? cpName.hashCode() : 0);
        result = 31 * result + (cpEmail != null ? cpEmail.hashCode() : 0);
        result = 31 * result + (cpTel != null ? cpTel.hashCode() : 0);
        result = 31 * result + (cpFax != null ? cpFax.hashCode() : 0);
        result = 31 * result + (procurementType != null ? procurementType.hashCode() : 0);
        result = 31 * result + (remarks != null ? remarks.hashCode() : 0);
        result = 31 * result + (requestForProposal != null ? requestForProposal.hashCode() : 0);
        result = 31 * result + (amendedClosingDate != null ? amendedClosingDate.hashCode() : 0);
        result = 31 * result + (coveredUnderWtoGpaFta != null ? coveredUnderWtoGpaFta.hashCode() : 0);
        result = 31 * result + (twoEnvelopeTender != null ? twoEnvelopeTender.hashCode() : 0);
        result = 31 * result + (tenderStatus != null ? tenderStatus.hashCode() : 0);
        result = 31 * result + (aeName != null ? aeName.hashCode() : 0);
        result = 31 * result + (aeCp != null ? aeCp.hashCode() : 0);
        result = 31 * result + (aeAddr != null ? aeAddr.hashCode() : 0);
        result = 31 * result + (aeEmail != null ? aeEmail.hashCode() : 0);
        result = 31 * result + (aeTel != null ? aeTel.hashCode() : 0);
        result = 31 * result + (aeFax != null ? aeFax.hashCode() : 0);
        result = 31 * result + (pcpName != null ? pcpName.hashCode() : 0);
        result = 31 * result + (pcpEmail != null ? pcpEmail.hashCode() : 0);
        result = 31 * result + (pcpAddr != null ? pcpAddr.hashCode() : 0);
        result = 31 * result + (pcpTel != null ? pcpTel.hashCode() : 0);
        result = 31 * result + (pcpFax != null ? pcpFax.hashCode() : 0);
        result = 31 * result + (type != null ? type.hashCode() : 0);
        result = 31 * result + (submissionMethod != null ? submissionMethod.hashCode() : 0);
        result = 31 * result + (tenderType != null ? tenderType.hashCode() : 0);
        return result;
    }
}
